import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {WaterChargeComponent} from "./water-charge/water-charge.component";
import {StatisticsOverviewComponent} from "./statistics-overview/statistics-overview.component";
import {ReportComponent} from "./report/report.component";
import {HrStatisticsComponent} from "./hr-statistics/hr-statistics.component";
import {AgricultureComponent} from "./agriculture/agriculture.component";
import {EcologicWaterComponent} from "./ecologic-water/ecologic-water.component";
import {DomesticWaterComponent} from "./domestic-water/domestic-water.component";


const routes: Routes = [
    {
        path: '', children: [
            {path: 'overview', component: StatisticsOverviewComponent},
            {path: 'hr-statistics', component: HrStatisticsComponent},
            {path: 'agriculture', component: AgricultureComponent},
            // {path: 'water-charge', component: WaterChargeComponent},
            {path: 'report', component: ReportComponent},
            {path: 'eco-water', component: EcologicWaterComponent},
            {path: 'dom-water', component: DomesticWaterComponent},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class StatisticsRoutingModule {
}
